﻿namespace Xms.Abp.Data;

[Serializable]
public abstract class ExtensibleFullAuditedEntityWithUserResult<TPrimaryKey, TUserDto> : ExtensibleFullAuditedEntityResult<TPrimaryKey>
{
    [Display(Name = "创建人")]
    public TUserDto Creator { get; set; }

    [Display(Name = "修改人")]
    public TUserDto LastModifier { get; set; }

    [Display(Name = "删除人")]
    public TUserDto Deleter { get; set; }
}

[Serializable]
public abstract class ExtensibleFullAuditedEntityWithUserDto<TUserDto> : ExtensibleFullAuditedEntityResult
{
    [Display(Name = "创建人")]
    public TUserDto Creator { get; set; }

    [Display(Name = "修改人")]
    public TUserDto LastModifier { get; set; }

    [Display(Name = "删除人")]
    public TUserDto Deleter { get; set; }
}
